package com.wg.springboot.stream;

 class Employee2  extends Employee {
    private String age;

     public Employee2(String name, double money, String age) {
         super(name, money);
         this.age = age;
     }

     public Employee2(String age) {
         this.age = age;
     }

     public String getAge() {
         return age;
     }

     public void setAge(String age) {
         this.age = age;
     }
 }

